package com.henchman.samples;

import org.tigris.subversion.javahl.SVNClient;
import org.tigris.subversion.javahl.SVNClientInterface;

/**
 * 
 * @author Raghunathan Semburakkiannan
 *
 */

public class SvnContext {

    private SvnCredentials credentials;
    
    public SvnContext(String userId, String password) {
    	credentials = new SvnCredentials(userId, password);
    }
 
    public SVNClientInterface allocClient() {
        SVNClientInterface client = new SVNClient();
        client.setPrompt(credentials);
        return client;
    }

}
